const router = require('koa-router')()
const cc = require('../conCtl');

router.post('/', cc.save_img_aliyun, async c=>{
    //返回上传结果
    //图片文件上传结果：c.upload_files
    //随文件一起上传的表单内容：c.upload_files_field
    cc.send(c, {
        upload_files: c.upload_files
    })
})

module.exports = router